#region Using Statements
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
#endregion

namespace SkyBurner.Screens
{
    class SkyBurnerScreenCredits : SkyBurnerScreenBase
    {
        public SkyBurnerScreenCredits(BaseGame game, ScreenManager pScreenManager, int nScreenID, bool bActive)
            : base(game, pScreenManager, nScreenID, bActive)
        {
            // setup texture...
            m_screenTexture = m_Game.ContentManager.Load<Texture2D>("Data\\Screens\\SkyBurnerMainScreen2");
        }

        public override void Update(GameTime gameTime, Camera pActiveCamera)
        {
            base.Update(gameTime, pActiveCamera);

            if (m_Game.UserInputState.IsUserAction(UserAction.ButtonA) || m_Game.UserInputState.IsUserAction(UserAction.Back))
            {
                m_Game.SoundManager.PlaySound("Highlight");
                m_screenManager.ActivateScreen(SkyBurnerScreenID.sbs_Main);
            }
        }

        public override void Draw(GameTime gameTime, Camera pActiveCamera)
        {
            base.Draw(gameTime, pActiveCamera);

            m_Game.BitmapFont.PrintCenterX(40, "Idea programming and design by", 16);
            m_Game.BitmapFont.PrintCenterX(60, "riccardo ceccato   moriarty72.spaces.live.com", 16);

            m_Game.BitmapFont.PrintCenterX(100, "music by", 16);
            m_Game.BitmapFont.PrintCenterX(120, "Juke Kayne   tigercubed.deviantart.com", 16);

            m_Game.BitmapFont.PrintCenterX(160, "models textures soundfx by", 16);
            m_Game.BitmapFont.PrintCenterX(180, "from various internet sites", 16);
        }
    }
}
